package cn.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * 当前登录用户信息
 *
 * @author Mxb
 * @version 1.0
 * @date 2020/7/26 22:04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto {
    private String id;
    private String username;
    private String password;
    private String fullname;
    private String mobile;

    public static final String SESSION_USER_KEY = "_user";

    /**
     * 用户权限
     */
    private Set<String> permissions;
}
